package com.lahui.nativecpp

import android.os.Bundle
import android.widget.TextView
import androidx.appcompat.app.AppCompatActivity

/**
 * @ClassName MainActivity
 * @Description TODO
 * @Author Administrator
 * @Date 2022/5/9 0009 上午 10:19
 * @Version 1.0
 */
class MainActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)
        var textView :TextView = findViewById(R.id.tv_text)

        var nativeLib:NativeLib = NativeLib()
        val stringFromJNI = nativeLib.stringFromJNI()

        textView.text = stringFromJNI

    }
}